package Json2RDF.Surface2RDF.SurfaceWriter;

import RDFManager.PropertySet;
import RDFManager.RDFReader;
import org.apache.jena.rdf.model.Resource;

import java.util.List;
import java.util.Map;

public class PartFaceWriter {
  public static void write(Map<Resource, List<Resource>> partFaces) {
    partFaces.forEach((k, v) -> {
      for (Resource f : v) {
        RDFReader.model.add(k, PropertySet.hasFace, f);
      }
    });
  }
}
